import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import './mock/index'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

// 将全局样式文件写在 main.js
import '@/assets/scss/reset.scss'
import '@/assets/scss/iconfont.scss'
import '@/assets/ali-fonts/iconfont.css'
import '@/assets/font/iconfont.css'
// Mint UI
import Mint from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(Mint)

// 图片懒加载
import VueLazyload from 'vue-lazyload'
Vue.use(VueLazyload, {
  loading: '/assets/loading-bars.svg'
  // loading: require('@/assets/img/logo.png')
})

Vue.use(Antd,axios);
import VueResource from 'vue-resource'; 
Vue.use(VueResource)

// import '@/assets/scss/_variable.scss'
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
